package jeecg.business.vo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import jeecg.business.entity.keyinfo.KeyinfoEntity;

public class HotKeyInfoVo{
	
	private String title;
	
	private String content;
	
	private Date eventDate;
	
	List<KeyinfoEntity> keyinfoList;
	
	public HotKeyInfoVo(){}

	public HotKeyInfoVo(String title, String content, Date eventDate) {
		this.title = title;
		this.content = content;
		this.eventDate = eventDate;
		keyinfoList = new ArrayList<KeyinfoEntity>();
	}
	
	
	public void addKeyinfo(KeyinfoEntity keyinfo){
		if(keyinfoList == null) keyinfoList = new ArrayList<KeyinfoEntity>();
		keyinfoList.add(keyinfo);
	}
	

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getEventDate() {
		return eventDate;
	}

	public void setEventDate(Date eventDate) {
		this.eventDate = eventDate;
	}

	public List<KeyinfoEntity> getKeyinfoList() {
		return keyinfoList;
	}

	public void setKeyinfoList(List<KeyinfoEntity> keyinfoList) {
		this.keyinfoList = keyinfoList;
	}
}
